package com.why.service;

import com.why.dto.ArticlePageDTO;
import com.why.pojo.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.why.result.PageResult;

import java.util.List;

/**
* @author 王-自信
* @description 针对表【article】的数据库操作Service
* @createDate 2024-11-26 16:06:48
*/
public interface ArticleService extends IService<Article> {

    List<Article> getAll();

    void add(Article article);

    PageResult<Article> pageQuery(ArticlePageDTO articlePageDTO);

    void updateArticle(Article article);

    void delete(List<Integer> ids);
}
